package com.jtjrenren.android.taxi.passenger.manger.api;

import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import retrofit2.http.Path;
import rx.Observable;

/**
 * Created by wdl on 2016/9/21.
 */

public interface PushService {

    @FormUrlEncoded
    @POST("/api/customer/uplog")
    Observable<String> upLog(@Field("Msg") String  msg);

    @FormUrlEncoded
    @POST("/api/customer/upmsg")
    Observable<String> pushMsg(@Field("Msg") String msg);


    @FormUrlEncoded
    @POST("/api/customer/GetToken")
    Observable<String> getToken(@Field("Account") String account, @Field("AppType") String appType,
                                @Field("AppVer") String appVer);

    @FormUrlEncoded
    @POST("/api/customer/UpClientId")
    Observable<String> bindGtCID(@Field("ClientId") String clientID);
}
